<include file="Public:header"/>
<form action="" method="post" class="ajax-form">
<div class="form_data">
	<div class="mod_name">
		<span class="name">
			<eq name="info.id" value="">添加<else/>修改</eq>链接
		</span>
	</div>
	
	<div class="mod_data">
		<div class="name">标题</div>
		<div class="input_data">
			<input type="text" name="title" value="{$info['title']}" datatype="*">
		</div>
	</div>

	<eq name="info" value="">
		<neq name="_city_id" value="">
			<input type="hidden" name="city_id" value="{$_city_id}">
			<input type="hidden" name="province_id" value="{$_province_id}">
		</neq>
	</eq>
	<eq name="_city_id" value="">
		{:W('Plugin/area_select', array('所属城市', 1, 0))}
	</eq>
	
	<div class="mod_data">
		<div class="name">URL地址</div>
		<div class="input_data">
			<input type="text" name="url" value="{$info['url']}" datatype="url">
		</div>
	</div>

	{:W('Plugin/upload_file', array('images_id', 'img', '图片', '', 0, '', 1))}

	<div class="mod_submit">
		<input type="hidden" name="admin_id" value="{$_user_id}">
		<input type="hidden" name="id" value="{$info['id']}">
		<input type="hidden" name="type" value="{$type}">
		<button type="submit" class="btn btn-save">保存</button>
		<button type="reset" class="btn btn-reset">重置</button>
		<button class="btn btn-back">返回</button>
	</div>
</div>
</form>
<include file="Public:footer"/>